// .vitepress/config.js
export default {
    lang: 'zh-CN',
    title: 'FSSC common',
    description: '通用组件库',
    srcDir: './src',
    themeConfig: {
        logo: '',
        siteTitle: false,
        // 顶部导航
        nav: [
            { text: '开发规范', link: '/specification/index' },
            { text: '说明文档', link: '/instruction/index' },
        ],
        sidebar: {
            '/specification/': [
                {
                    text: '开发规范',
                    items: [
                        { text: '编码规范', link: '/specification/code' },
                        { text: 'GIT规范', link: '/specification/git' },
                        { text: '开发规范1', link: '/specification/index' },
                        { text: '开发规范2', link: '/specification/index' }
                    ]
                }
            ],
            '/instruction/': [
                {
                    text: '说明文档',
                    items: [
                        { text: '说明文档1', link: '/instruction/index' },
                        { text: '说明文档2', link: '/instruction/index' }
                    ]
                }
            ]
        },
        footer: {
            message: 'Released under the MIT License.',
            copyright: 'Copyright © 2019-present Evan You'
        }
    }
}
